package trycatch;

import java.util.Arrays;
import java.util.Collections;

/**
 * @Description
 * @Author SHEN
 * @Date 2021/4/6
 */
public class TryCatchTest {

    public static void main(String[] args) throws InterruptedException {

        String s1 = "5,6,7,8,9,10";
        String s2 = "1,2,3,4,5";
        String[] a1 = s1.split(",");
        String[] a2 = s2.split(",");
        System.out.println("Collections.disjoint(Arrays.asList(a1),Arrays.asList(a2)) = " + Collections.disjoint(Arrays.asList(a1), Arrays.asList(a2)));










    }
}
